import request from '@/utils/request'


//查询预警模型列表
export function waringConfigLs(params) {
    return request({
        url: `/waring/config/list`,
        method: 'get',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        params
    })
}
//查询预警模型详情
export function waringConfigDetail(id) {
    return request({
        url: `/waring/config/${id}`,
        method: 'get',
    })
}
// 修改预警模型
export function waringConfigEdit(data) {
    return request({
        url: '/waring/config',
        method: 'put',
        data: data
    })
}




